package com.sq.partner.manager.dao.credit;

import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.CreditRisk;

public interface CreditRiskDao {
	
	public List<CreditRisk> selectCreditRisk(String prodCode) throws Exception;
	
	public boolean updateCreditRisk(CreditRisk creditRisk) throws Exception;
	
	public boolean addCreditRisk(CreditRisk creditRisk) throws Exception;
	
	public boolean delCreditRiskByProdId(String prodCode) throws Exception;
	
	public boolean delCreditRiskByRisk(CreditRisk creditRisk) throws Exception;
	
	public List<CreditRisk> impCreditRisk(Map<String, Object> map) throws Exception;

}
